Applications can get a list of MIME types supported by a movie import component by calling the MovieImportGetMIMETypeList function.
With QuickTime 4, import components should additionally include a public component resource holding the same data that MovieImportGetMIMETypeList would return. This public resource's public type and ID should be 'mime' and 1, respectively; these values are held in the import component's public resource list. The following shows an example of such a list:
resource 'thnr' (kMyImportComponentResID)
{
'mime', 1, 0,
'mime', kMyImportMIMETypeListResID, 0
}
By including this public resource, QuickTime and applications don't need to open the import component and call MovieImportGetMIMETypeList to determine the MIME types the importer supports. In the absence of this resource, QuickTime and applications will use MovieImportGetMIMETypeList .
| Previous | Chapter Contents | Chapter Top | Next |